{include file="public/header" /}
{include file="public/nav" /}
<div class="mianbao">
    <div class="anli_nav inner">
        <img src="__IMG__/adico1.png">
        当前位置：{$cur_location|raw}
    </div>
</div>
<div class="casedes">
    <div class="inner">
        <div class="des-left">
            <div class="title">
                <h2>【实景】{$data.name}</h2>
                <figure>
                    <span>来源：八方筑装饰</span>
                    <span>浏览人数：{$data.views}次</span>
                    <span>更新时间：{$data.update_time|date='Y-m-d'}</span>
                </figure>
            </div>
            <div class="destrim">
                <div class="box">
                    <div class="trimName">
                        <h2>作品信息</h2>
                    </div>
                    <div class="trimTable">
                        <ol>
                            <li>
                                <span>{$data.tags[0]}</span>
                                <sup>案例风格</sup>
                            </li>
                            <li>
                                <span>{$data.area}平方米</span>
                                <sup>房屋面积</sup>
                            </li>
                            <li>
                                <span>{$data.cost}万</span>
                                <sup>参考造价</sup>
                            </li>
                            <li>
                                <span>{$data.designer.name}</span>
                                <sup>{$data.designer.position}</sup>
                            </li>
                            <li>
                                <span>{$data.house}</span>
                                <sup>楼盘名称</sup>
                            </li>
                            <li>
                                <span>{$data.address}</span>
                                <sup>地区</sup>
                            </li>
                        </ol>
                    </div>

                    <div class="trimName">
                        <h2>作品详情</h2>
                    </div>
                    <div class="trimDetail">
                        {$data.content|raw}
                    </div>
                </div>
                <div class="trimSolo">
                    {notempty name="prev"}
                    <a href="{:url('cases/detail', ['category_id'=>$prev.category_id, 'id'=>$prev.id])}" title="{$prev.name}"><img src="__IMG__/pg-leftjt.png"> 上一案例：【实景】{$prev.name|raw|substr=0,45}</a>
                    {/notempty}
                    {notempty name="next"}
                    <a href="{:url('cases/detail', ['category_id'=>$next.category_id, 'id'=>$next.id])}" title="{$next.name}">下一案例：【实景】{$next.name|raw|substr=0,45}<img src="__IMG__/pg-rightjt.png"></a>
                    {/notempty}
                </div>
            </div>
        </div>
        <div class="des-right">
            <div class="despeo">
                <div class="box">
                    <em>
                        <img src="{$data.designer.image_url}">
                        <div class="tit"><a href="javascript:void(0);" class="ztsheji">预约该设计师</a></div>
                    </em>
                    <div class="text">
                        <h3><span>{$data.designer.name}</span> - {$data.designer.position}</h3>
                        <p>从业经验：{$data.designer.year} 年 职称：{$data.designer.position}</p>
                    </div>
                    <div class="desmore"><a href="{:url('designer/detail', ['id'=>$data.designer_id])}">查看主页</a></div>
                </div>
            </div>
            <!--<div class="desmdcase">
                <div class="box">
                    <div class="tit">
                        本案例服务门店
                    </div>
                    <em>
                        <img src="/uploads/img/20221110/0713d32136382ccba1dcb5e48f187a1d.jpg">
                    </em>
                    <div class="text">
                        <h3>八方筑旗舰店</h3>
                        <p>设计案例：3258 | 设计师：88</p>
                        <div class="deszx"><a href="">立即咨询</a></div>
                    </div>
                </div>
            </div>-->
            <div class="add-money Calculate mt20 reckon">
                <form id="formfCasesDetail" onsubmit="return false;">
                    <div class="fitup reckon">
                        <div class="img-box">
                            <p>算一算</p>
                            <p>我家装修需要多少钱？</p>
                        </div>
                        <div class="fitupSuan">
                            <div class="fitupSuanJiqi js-total">163739</div>
                            <div class="fitupSuanShuru">
                                <input type="text" class="text" name="area_num" placeholder="请输入房屋面积">
                                <span>m²</span>
                            </div>
                            <div class="fitupSuanShuru">
                                <input type="text" class="text" name="username" placeholder="请输入您的姓名">
                            </div>
                            <div class="fitupSuanShuru">
                                <input type="text" class="text" name="contact" placeholder="请输入您的电话号码">
                            </div>
                            <input type="hidden" name="type_name" value="获取报价">
                            <div class="fitupSuanShuru" onclick="fnFormSubmit('formfCasesDetail');">
                                <input type="submit" class="sub" value="领取报价">
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="guntop"></div>
        </div>
    </div>
</div>

<div class="endguntop"></div>
<div class="likecase">
    <div class="inner">
        <div class="liketitle">
            <h3>猜你喜欢</h3>
            <a href="{:url('cases/index')}">查看更多 <span>>></span></a>
        </div>
        <ul class="pgcase">
            {volist name="rec_cases" id="item"}
            <li>
                <em>
                    <img src="{$item.thumb_url}">
                    <div class="hovertext">
                        <span><a href="javascript:void(0);" class="ztsheji">预约设计</a></span>
                        <span><a href="{:url('cases/detail', ['category_id'=>$item.category_id, 'id'=>$item.id])}">查看详情</a></span>
                    </div>
                </em>
                <div class="text1">
                    <a href="{:url('cases/detail', ['category_id'=>$item.category_id, 'id'=>$item.id])}">
                        <div class="t1">{$item.house}</div>
                        <div class="t2">{$item.tag_name[0]} | {$item.area}m² | </div>
                    </a>
                </div>
                <div class="text2">
                    <div class="people">
                        <img src="__IMG__/logo.png">
                    </div>
                    <div class="t1">
                        <p>八方筑装饰</p>
                        <p style="color: #666666;"></p>
                    </div>
                    <div class="zbut huaran">
                        这样装多少钱
                    </div>
                </div>
            </li>
            {/volist}
        </ul>
    </div>
</div>
{include file="public/left" /}
<!-- footer -->
{include file="public/footer" /}